﻿using System;

namespace Matrix
{
    class Program
    {
        static void Main()
        {
            Matrix<int> firstMatrix = new Matrix<int>(2,2);
            Matrix<int> secondMatrix = new Matrix<int>(2,2);

            firstMatrix[0, 0] = 1;
            firstMatrix[1, 0] = 2;
            secondMatrix[0, 1] = 3;
            secondMatrix[1, 1] = 4;

            Matrix<int> result = new Matrix<int>(2,2);
            result = firstMatrix - secondMatrix;
            Console.WriteLine("{0} {1}", result[0, 0], result[0, 1]);
            Console.WriteLine("{0} {1}",result[1, 0], result[1, 1]);
        }
    }
}
